efdddf426db794819574a34980dc815e7238ae15,bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Image.java,Image,getImageData,#,937

Before Change


	if (!NSThread.isMainThread()) pool = (NSAutoreleasePool) new NSAutoreleasePool().alloc().init();
	try {
		NSBitmapImageRep imageRep = getActualRepresentation();
		return _getImageData(imageRep);
	} finally {
		if (pool != null) pool.release();
	}

After Change


	if (!NSThread.isMainThread()) pool = (NSAutoreleasePool) new NSAutoreleasePool().alloc().init();
	try {
		NSBitmapImageRep imageRep = getRepresentation();
		ImageData data =  _getImageData(imageRep);
		if (imageFileNameProvider == null && imageDataProvider == null) {
			return data;
		}
		return DPIUtil.autoScaleImageData(device, data, 100, DPIUtil.getDeviceZoom());
	} finally {
		if (pool != null) pool.release();
	}